Using translate3d for modern browsers for better animation performance