Only swipe on cordova