void TouchArea_ManipulationDelta(object sender, ManipulationDeltaRoutedEventArgs e)
{
// get the movement on X axis
_x += (float)e.Delta.Translation.X;
// keep the pan within the bountry
if (_x < -this.ImagePanel.ActualWidth / 2 || _x > 0) return;
// set the pan rectangle's visual's offset
_touchAreaVisual.Offset = new Vector3(_x, 0.0f, 0.0f);
// kick off the effect visual's animation so to have both visuals' offset in sync
_visual.StartAnimation("Offset.X", _animation);
}