Make scaling calculation a little cleaner
Make scaling calculation a little cleaner

openlibrary/bookreader,openlibrary/bookreader,Islandora/internet_archive_bookreader,Islandora/internet_archive_bookreader,niksu/bookreader,garyrh/bookreader,garyrh/bookreader,gootdude/bookreader,niksu/bookreader,openlibrary/bookreader,nikolas/bookreader,Islandora/internet_archive_bookreader,garyrh/bookreader,gootdude/bookreader,brisandbeans/bookreader,yankl/bookreader,yankl/bookreader,Islandora/internet_archive_bookreader,niksu/bookreader,internetarchive/bookreader,niksu/bookreader,brisandbeans/bookreader,yankl/bookreader,nikolas/bookreader,yankl/bookreader,openlibrary/bookreader,brisandbeans/bookreader,gootdude/bookreader,brisandbeans/bookreader,garyrh/bookreader,niksu/bookreader,openlibrary/bookreader,garyrh/bookreader,Islandora/internet_archive_bookreader,yankl/bookreader,gootdude/bookreader,brisandbeans/bookreader,internetarchive/bookreader