Changed panel javascript render function max height determination

JQuery firefox bug than $(window).height() returns wrong height, so in firefox h_max (panel maximum height) is low value so we can't resize debugbar panel in browser

as example in firefox 33.0 (ubuntu 14.04)
$(window).height() :: 65
$(document).height() :: 734