Add swipe constraint