refactor navbar into partial