better mouse move handling
Merge pull request #2 from etienne-p/master

better mouse move handling