PDFViewer class must hold the input, wrapper and visToggle state.