repaired display mode toggle