some preparations for restoring ui state
double tap to zoom

from zReader