Use switch statement instead of if statement.
Center textual history correctly in landscape mode.