nav-bar selection correctly