An OpenSeadragon plugin for updating the zoom/pan in the local storage.
Create your OpenSeadragon viewer and then:
viewer.localStorage();
It'll take the viewer to wherever the localstorage point, and it'll update the local storage with parameters.
See demo.html for an example.