using translate3d to improve performance