Get the value equivalent to window.scrollMaxX