added mouse drag with middle mouse button

you can now drag the view with the mouse by holding the middle mouse
button.