changed animation to use translate3d to allow for gpu