Scroll window on pagination