play function on hovertip