Added animation duration.