reimplement the nav-bar