Factor out navbar for all pages.