added function to update answer based on direction of tinder swipe