Fix for min value issue in slider

Not sure of the usage of pods_var on line 13,14, but it doesn't seem
correct compared to the function source code.