Attempt at getting animations to work in firefox. Doesn't work yet...