Swipe functionality finally working! I think