change "left" to "translateX" to avoid repainting the whole screen and move boxes to their own layer