added ability to disable swipe