changed look and feel of the navbar

changed the styling of the navbar up top and fixed issue #2532 as well