Added onFinishAnimCallback and onLoopAnimCallback