added the navigation plugin to allow for panning and zooming in the plot