edited dynamic nav bar