fixed the layout of the main nav