added transition support for FireFox