Factored out JScrollPane Drag-to-Pan functionality into library. Minor api change to plot/mapcanvas