Select tab while moving