cleaned up skybox code