Clean
Rename the dropAnimationImage function to redrawAnimationImage.
Correct syntax error.
Add comments.
Add comments.