swipe direction fix