add a check to avoid two animations running on the same division