[BUG #8117] Refactoring and Code Formatting
[BUG #8117] Solved problem with Mouse and gesture recognition when right button was clicked.
[BUG #8117]  Enabled Pointer Events for IE8