I set obj.minValue = 100 and obj.maxValue = 1000,
Than i set on setting obj.leftValue = Some number , it wont actually set the value since , rightValue is smaller than leftvalue at time.
So i have to do it like to fix the problem
obj.leftValue = 140
obj.rightValue = 700
obj.leftValue = 140