set swipe to auto for slideshow