update slider class for blocks