add swipe and tap script