Fix #152 - calculateVisiblePages bug when viewer is display:none
Merge pull request #154 from box/issue-152

Fix #152 - calculateVisiblePages bug when viewer is display:none