Update touch control features

Fixed touch tolerance while document scrolling
Refactored code
New Version 0.8.4