private static void TransferPage(Image destination, Image source)
 {
     destination.Source = source.Source;
     destination.MoveToLTW(source.Rectangle());
     destination.Visibility = source.Visibility;
 }
        private static Rect MoveToRightOf(Image target, double resize_factor, Rect mainPage, Storyboard story)
        {
            if (target.Source == null) return Rect.Empty;
            double actualWidth = target.Source.Width / resize_factor;
            double actualHeight = target.Source.Height / resize_factor;

            Rect rect = new Rect(
                mainPage.Right + 10,
                mainPage.Top - (actualHeight - mainPage.Height) / 2,
                actualWidth,
                actualHeight);

            target.MoveToLTW(rect, story, animationTime, story != null);

            return rect;
        }