Added scrolling support for document and any inline scrollable elements as well