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

--HG--
branch : mozilla-beta
extra : transplant_source : %01%11%1E%CB%E8%5D%E1%C6%87%C8%82m%2CU%0B%98%8A%B9%AAq