Added ability to reorder tabs