added zooming to graph