Fixed problem with AZPC states when switching between scroll/touch modes
Fixed bunch of scroll/pan/touch/mousemove events issues,
added pref for enabling mouseevents handler
Fixed problems with switching between touch and panning mode