Added mozilla support for transitions