Added graph zooming and panning.