modify how elements remove active class