Correct swipe direction bug