disable swipe feature on browsers that don't support native
requestAnimationFrame