Update jquery.perfectfit.js

minor corrections in resizing