updated controller to show current tab