fixes ace editor cutting off viewing code

Jira ticket https://issues.apache.org/jira/browse/COUCHDB-2454