Barebone javascript scroller, optimized for mobile devices