Implemented rudimentary panning, still a bit weird but you can drag it back and forth now at least
minor merge conflicts solved