support animation.

Signed-off-by: qijiang.guo <qijiang.guo@gmail.com>