tryign to index tabs
tab switching without polling