set 60 fps, wrap margin change into requestAnimationFrame
set translateZ for animated div