Allow on-the-fly resizing of PDF view in modern browsers