move navbar to templates