deal gracefully with add/remove tabs after reorder