Handling touch events in IE on Windows Phone

I think my version is little bit more cleaner that the one from another pull request.