added swipe class