limit document_kind html area and image height

• so the thumbnail view remains an overview page and long vertical images get smaller
• Fixes #201