added active class to the tab that user is currently on