added comment for customized tagbar toggle function