Remove classes when text reaches 0