little cleanup, set swipe gesture recognizer's direction