updated progress-bar mixin with class-check variable