better to keep getWindowScrollTop, getWindowScrollLeft separate, because they are not always used together