Browsing: document resize without distortion