incorrect offset for scrolled pages

The scroll-offset was only updated when the scroll_in() function was used for scrolling.
Using the mouse-wheel during dragging or resizing of a widget leads to invalid offset values.