invoke old onclick listener methods after switching to each tab view