removed click handler and added active class