fixed the disappearing sidebar menu items when the top menu is opened and closed