Abandon swipe detection code because of incompatibility with browser/os's native controls.