the viewer also supports recovery after a validation error
added auto scroll support for the plugin