Adds offset to max and mins.

This allows the slider to operate correctly event if the min is
negative.