wikimedia/Commons-iOS — pull request #112 by montehurd (2013-07-26 23:20:57+00:00)
Title: 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.)