made profile tab active when profile page is selected