navigation bar added and decoupled from main layout