add swipe subclass