Fixing loose end in datepicker/calendar destruction
rewrote Calendar#_setMinMax() to be more readable and shorter