testing mobile swipe functions for the slider