refactor navbar into backbone view