enable swipe and touch