Added debug panel max height with scrolling