change click call to exclude a tags outside of the tablist