[issue-8] Fix zoom and page when container is initially hidden

Fixes #8

Adds a control for when the container is initially visible, as the zoom and page calculations do not work properly in that case. Added a case to the viewer-embed-debug.html to ensure that the fix works.