toggling active class on title