scrolling code change