put navbar into layout