fixed incorrect slider if count not multiple 4