refactored add_nav_box() to return early rather than tab