set scroller to variable