refactoring ScrollingImageList into two classes.