Improved responsive handling of navbar.