tried using translateZ(0) to speed up transition