add classes to the slider when it's is paused or resumed