Fixing swipe direction.