Added and managed variable to keep track of whether or not the video controller should hide in the current state.