d3 visualization tweaks for zooming and panning.