Bug 701090: reorder the shells too when tabs are reordered.

This allows to not lose the tab order after we come back from multi-window mode.