added zooming to plot