Finished View Switcher exercise from chapter 6.