Added zoom in and out for re-sizing the graph