adding active state on tab