add cross-browser transition support