Added shift-click and ctrl-click on background to pan.