static Vector2 CalculateVelocity(IUIManager uiManager, Vector2 sourceVel)
        {
            float maxVelocity = uiManager.GetMaxSwipeVelocity();

            if (sourceVel.sqrMagnitude > maxVelocity * maxVelocity)
            {
                return(Vector2.ClampMagnitude(sourceVel, maxVelocity));
            }
            else
            {
                return(sourceVel);
            }
        }