changed from css transitions to webkit keyframe animations

the performance is improved significantly when using keyframes