Rename `switch` to `showView`

* `switch` is a reserved word that causes IE8 to blow its lid.

fixes #179