* added pause and resume to swipe API