hide the cursor with cursor-hidden class rather than element.style
Merge pull request #2213 from dyross/dyr-hide-cursor-nicely

Hide the cursor with cursor-hidden class rather than element.style