figured out the problem with the swipe