Changes nav bar layout to horizontal