detecting gestures on transactions