add support for mozilla for button transitions