zoom and drag functionality added to graph

zoom and drag functionality added to graph
conflict resolved