add kindeditor,improve animation func