Panning 3d

3D views can be panned by holding Space and moving the mouse. Also added a setting to disable this behaviour.