Move view changing functionality from GtkStackSwitcher into a view menu