added sample animation

Added a sample for animation.