hwhw/kindlepdfviewer — pull request #327 by dpavlin (2012-09-26 18:25:17+00:00)
Title: recalculate pan offsets on page change

Store last globalzoom_mode in self.pan_by_page so we can restore it to force offsets recalculation on page change

This wasn't quite enough to trigger correct re-panning for page changes when using fiveway to move in two-column mode, issue #275

I considered adding callback to goto method and than transfering it through function calls, but this approach (allthough very questionable) seemed to provide simplier code.