Changed pager from position() to offset() when recomputing scroll top.