initializing sizes for use in the initScene