This feature has been deprecated. Use up.viewport.get()
instead.
Load unpoly-migrate.js
to polyfill deprecated features.
Returns the scrolling container for the given element.
Returns the document's scrolling element if no closer viewport exists.