Events added for switching views.  Still need to implement listeners.