cleaned up cocos2d creation code
moved OpenGLESPage to shared
handle window resize before render
moved OpenGLESPage to shared
moved OpenGLESPage to shared
check if size changed before resize