implemented somewhat basic implementation of sceneswitching. Buggy as foq