Preliminary implementation of scrolling.