add transitions to tooltip