updated style to conditionally reformat the menu if the user is mobile