diff --git a/html/force.js b/html/force.js
index 9d0c5e4..0d0964d 100644
--- a/html/force.js
+++ b/html/force.js
@@ -12,7 +12,7 @@ function getOffset( el ) {
var offset = getOffset(document.getElementById('chart'))
var w = window.innerWidth - offset.left,
- h = window.innerHeight - offset.top
+ h = window.innerHeight - offset.top - 1
var cp = d3.select("#chart").append("div")
.attr("id", "controlpanel")