added swipe/gesture feature