The method of updating CSS `top` and `left` is not sufficiently performant, `translateX` and `translateY` will lead to a much smoother animation.