Refactors animations to use trasition transform translate3d