Sounds like you need a center point on the X axis to check when dragging.
Global Variable CenterX
Set that to the center of the layout.
On Sprite X < CenterX Mirror Sprite
On Sprite X > CenterX set sprite Default animation
If you want it to switch every time you swipe left or right then set Center X at the X position of your sprite using every tick and use a global variable called OldX for the last X position of the sprite.
OldX = CenterX
CenterX = Sprite X
On CenterX < OldX Mirror Sprite
On CenterX > OldX Set Sprite animation Default