switching between text and graphical views