add private to contants
add counter. fix fast tapping problem.
adjust touch move event
add setting preference to control thresholds
adjust ui