fix calculation of thumb crop dimensions (based on  instead of ); fix Exif thumbs with the wrong orientation
remove unused Image::scale()
perfectScrollbar: scroll to the top whenever the ul height changes
cleanup