title: Change image with animation direction
body: <p>I have two images of a cow. I want to show it walking from left to right and from right to left.
  currently I am using one image for both state , I want to use two images where the cow faces left when walking left and facing right when walking right.</p>
  
  <p>how can I achieve this?</p>