A Swift adaptation of SwipeView