trying to fix slow animation performance on mobile