Maintain the current position in the document when zooming