Add touch support for pointer based devices

Add touch support for pointer based devices like ie11 on Windows 8.1.

I tested these changes with following devices and browser:

- Surface Pro with ie10(win8.0) and ie11(win.81)
- Ipad Safari (IOS7)
- Desktop with ie10, latest Chrome, latest opera, latest Firefox

At the moment I can't build the source file out of the repository, because I dont know the build process. (this is my first github Action)