Determine when animations are taking too long and turn them off.