implemented entering the controls state from the pause menu and getting back from it