Adding revert function.

to the crop and shuffle animation