Added "animated" support.

Added "animated" property.
Added demo button to toggle animation.