Better details scroll margin calculation.
Better details scroll margin calculation.

If the height of the details table view's contents are less than the screen height only add enough scroll margin to let the bottom of the details to scroll into view. (No point in having so much margin in this case that the top of the content can scroll off the top of the screen.)

nicolas-raoul/Commons,lyrk/Commons,wikimedia/Commons-iOS,wikimedia/apps-ios-commons