Initial implementation of x-axis scrolling

Still buggy when you start panning / zooming manually