Moved tooltip interaction from CSS to JS, along with active click events.