getScrollDirection

Scroll direction of the document (horizontal is default).

Return

Page scroll direction, HORIZONTAL or VERTICAL.