fix a problem with the menu for mobile screens