adjust layout for menu for medium size screens