hide map when clicked on menu button