implemented cards swiping to left and right