simplifies navbar.