updated scrolling sample