Modified RotatinShapesDemo - glViewport and projectionMatrix
corrections upon window resize event.