fix navbar layout for tablet and smaller