adding class to selected nav bar