private void EpisodeFlipControl_Unloaded(object sender, RoutedEventArgs e) { //Stop timer and reset animation when control unloads if (_timer != null) _timer.Stop(); if(_translate != null) _translate.Y = 0; }