swipe library to exit class view on touch devices