dist/js/mobile-angular-ui.gestures.js
function(t) {
        var absAngle = abs(t.angle);
        absAngle = absAngle >= 90 ? absAngle - 90 : absAngle;

        var validDistance = t.total - t.distance <= TURNAROUND_MAX;
        var validAngle = absAngle <= ANGLE_THRESHOLD || absAngle >= 90 - ANGLE_THRESHOLD;
        var validVelocity = t.averageVelocity >= VELOCITY_THRESHOLD;

        return validDistance && validAngle && validVelocity;
      }
function(t) {
        var absAngle = abs(t.angle);
        absAngle = absAngle >= 90 ? absAngle - 90 : absAngle;

        var validDistance = t.total - t.distance <= TURNAROUND_MAX;
        var validAngle = absAngle <= ANGLE_THRESHOLD || absAngle >= 90 - ANGLE_THRESHOLD;
        var validVelocity = t.averageVelocity >= VELOCITY_THRESHOLD;

        return validDistance && validAngle && validVelocity;
      }
start to consider only if movement exceeded MOVEMENT_THRESHOLD