fixed #10 by changing the css attr. in javascript to the according
height of the navbar.