added support for switching to controls gamestate