First pass at algorithms for scroller