Remove White Space for Hidden Nav Bar

Using “display: none” on the nav bar does hide the buttons and date from displaying however it still leaves a huge white space at the top of the scheduler. Any ideas how to actually remove the white space?

<div class="dhx_cal_navline" style="display: none">

try following config scheduler.xy.nav_height = 0;

That worked. Thanks