private void AnimateIn()
 {
     // hide the menu, show the main area (move it back)
     MenuArea.LayoutTo(_collapsedMenu, 200, Easing.SpringIn);
     MainArea.FadeTo(1, 1200);
     MainArea.TranslateTo(0, 0, 200);
 }
 private void AnimateOut()
 {
     // show the menu, hide the main area (and move it away completely)
     MenuArea.LayoutTo(_expandedMenu, 1200, Easing.SpringOut);
     MainArea.FadeTo(0, 200);
     MainArea.TranslateTo(-MainArea.Width, 0, 200);
 }