Detect swipe before double-tap

Detecting swipe before double-tap makes sure that double tap is inside 30px radius. This prevents a tap-and-accidental-drag firing a double-tap.