Created the page_switch() method and registered it for pipe switches.
The new page_switch() method is registered with the Pipe_switch_observer singleton and observer
object so that pipe switches cause the notebook to switch pages. The switch_page() method has also
been created to abstract the switching of pages in the notebook.