added directive for navbar