Move hide menu handler to more appropriate position