Fixed SwipeGesture prototype