Expanding menu

What I want is when you click on a bar it expand and pushes the ones below down. That has been accomplished. However, I want the expanded bar to close when a different bar is clicked. Right now that doesn’t happen. The only way to close an expanded bar is to click on itself.

I should add that there is code on an invisible button that resides inside the bar movie clip.

Can anyone offer any suggestions?

Thank you very much in advance.