Reimplemented zooming. Also keeping view centered when resizing