Added panning gesture to card