made the menu work on mobile