Changeing behavior for menu hiding
Fixed trigger for hiding the menu