nav bar tabs now get active class when clicked