zoomfunction for ld-plot is working

ld plot is now working and has a resonable scaling in unzoomed and zoomed mode of the arc plot.
This logic is repeated in several places (arc_plot.js, circle_plot.js, hist_degree_snps_plot.js).  It needs to be factored out.