The closure needs additional context to animate correctly