Some code cleanup.
Start to rewrite the old scrolling layer class.