Calculate maximum Y that can be acceptable as a vertical scroll position.
double getScrollableMaxY(double zoomRatio) => getFullSize(zoomRatio).height - _state!._lastViewSize!.height;