changes the the position of the navbar