constructing the nav bar.