Added middle-click panning in map viewer.