support when the document's scroll exist

RT