Two-dimensional scroll

Added support for X and Y scrolling. Actually pretty usable now.