updated nav bar script