Set correct directions for swipes