Adding Zooming and Panning for graph editor