Move dragged tab to the correct position, even if there are hidden tabs.