fix slider if the 'min' is negative