zoomIn and zoomOut code differe only in single line 'plot.zoom[Out](zoom)'
please avoid code duplication