Implemented dynamic nav bar