add nav bar directive