correctly returning swipe direction