reverse scroll direction according to swipe