altering the scene class to correctly maintain a transition state