passing the tab view on select event