mozilla/pdf.js — pull request #3975 by mathieubenard (2013-11-26 16:42:30+00:00)
Title: fixed toolbar position for ios

Refactored previous fix to consider sidebar:

Original pull request: https://github.com/mozilla/pdf.js/pull/3974

When triggering an orientation change (portrait to landscape) the value of window.scrollY is 20, resulting in the toolbar to be partially hidden. This issue observed on ios 7.0.4 safari.