centering scroll content if it is smaller than the destination size

All functionality remains the same, just centers the preview image inside of the destination size frame.