New tabs are now built before switching to the tab. Prevents flashing and appears smoother. Authors: notcras cpgonzalez nmcmahon1215