[Bug 918115] fix tooltip JS to be mobile friendly
Merge pull request #940 from Sancus/tooltipfix

[Bug 918115] fix tooltip JS to be mobile friendly