What about Math.min() and Math.max() ?
Needs to be updated to include the new Drag and Drop of sheet rolls to the macro bar.