Pass along the animation duration too.