implemented zooming on the graph viewing pane