making named views
adding some default navbar behavior