using TabController in the view