Moved className change for animation from mainDiv to tapeDiv.