Changed variable name and fixed reverse animation.