adjusted the height for the boxes

flickering was fixed.