add touchSlop for swiping