104 - Focus jumps to wrong tab on close

If the removed tab is to the right of the selected tab, keep the same index, otherwise, decrement to move leftward.