Converted all screens to be controlled by history state.