added tab functionality active classes