LayoutMode Not Working

Moving setLayoutMode into the documentLoaded listener solved our problem! We used what was the README on how to implement the pdf viewer. It may be helpful to others who have larger PDF documents to use the documentLoaded.

Thanks for the help! If anything else comes up with this we will reply on this thread.