Fixed transition

Before this the fix, the transition animation didn't work in Chrome and Safari on my computer.