refined navbar and layouts