I replaced the dragable images now it should work.
I did this code pen, if you drag the first image to target two go back with an animation, if you do it the second time the animation is different, but it should be the same.
https://codepen.io/rha-elettronica/pen/oNNJjQy