makes pdf scale to page