Revert "switchView"

This reverts commit 99bb19fec4ed8988885e98c31c179391450799e9.