and then sidebar can call this based on a 'shouldShowMachineView()' helper which can get refactored into the stateController