Added animation setting to XTKViewer