Working button swipe! Added in reset relationships function