update scroller on resize