Fixed bug in scrolltest and removed dead code.
Fixed bug in scrolltest and removed dead code.

foam-framework/foam,osric-the-knight/foam,osric-the-knight/foam,foam-framework/foam,mdittmer/foam,foam-framework/foam,jlhughes/foam,mdittmer/foam,jacksonic/foam,shepheb/foam,jlhughes/foam,shepheb/foam,mdittmer/foam,jacksonic/foam,jlhughes/foam,osric-the-knight/foam,jlhughes/foam,jacksonic/foam,jacksonic/foam,foam-framework/foam,shepheb/foam,osric-the-knight/foam,foam-framework/foam,mdittmer/foam