wait until animation stops to return from cropping