Add animation hook (beforeRender|afterRender)