added zoom in zoom out to the graph