refactor nav tabs to use nav_tab helper