Set a maximum height for screenshots on algorithm pages.

Use the actual aspect ratio to then set the width if the height exceeds
the preset maximum.
Refs #9613
Put image in centre of screenshot container div

Refs #9613
Merge remote-tracking branch 'origin/feature/9613_docs_screenshot_sizing'