fix reversed up/down swipe