resetViewer(); is now accessible