made the class to change automatically on the slider and multiple ratings possible in a slot