implemented detached tabs feature