added swipe controls for touch device