Sets the current maximum value of a manual scrollbar. (This method has no effect on automatic scrollbars.)
See also init-manual-scrollbars.
The which argument is either 'horizontal or 'vertical, indicating whether to set the maximum value of the horizontal or vertical scrollbar, repsectively.