Made the navbar resize appropriately