manual selection of tab view

bring tab view to front with index number and remove tab with index number programmly.