blocks animation when the other animation is in progress.