made the menu for window widths less than 480px close after making a selection