changes order of tabs