Moved BgScroller to its own file