private void OnBackClick(object sender, RoutedEventArgs e)
 {
     api.Previous();
 }