now the zooming will still be correct when the window is resized
Merge pull request #256 from mohamed-ahmed/html5-bridge

now the zooming will still be correct when the window is resized