get_nav_item refactoring