switching tabs for spaces