refine the layout of the first two navigation