changed the position of the nav elements