tried to implement saving/restoring of zoom level and pan-position but it doesn't quite work yet... :/