SI-8591 Scaladoc: Problem with scrolling under Safari on iOS

See #3755 for details.