preliminary panning

bugs: space offset resets everytime movemouse event occurs