Make sure to not do tabprevious on the last tab.