pass click event to hide_menu call