put width and height of navbar in their logical order