dynamically creating nav-bar now