Zoom buttons zoom at center (Fixes #4). Refactor zoom code. Fix IE viewp...

...ort