mouse event and tooltip styling