Zoom & pan functionality in scatterplot