Change tab to left/right