adding div viewerOptions