Set animating to false on completion