making gadgets render at tab switch.