moved navbar into separate file