Support for IE 10 and fixes to some gestures to make them more robust

I am also thinking of a state-machine approach to make gestures even more robust and make them mutually exclusive, but that seemed too much for a single pull request. Any thoughts or preferences on this?