Add better resize-checking and remove polling/requestAnimationFrame
Fix resizer for elements that are not positioned
Merge pull request #153 from box/better-resizer

Add better resize-checking and remove polling/requestAnimationFrame
Fix #152 - calculateVisiblePages bug when viewer is display:none