swap tabs for spaces