Cancel animations on orientation change.