Added animation in the render component