customized the tabs widget