resolved the glitchy effect happening as a result of the animation fighting our panning move