widgets.pager: fix redrawing when scrolling