change swipe code