refactor nav bars