added document width/height without scrollbar to on-resize