Fixes swipe directions