When closing a tab, go to the previous one, and not the one before it in the tab list