drawer,zooming function on graph