Bug 998253 - Properly wait for the tab animation. r=aeftimie