set active of teacher/studentIndex's tab