fixed that the child view of left and right panel uses space in the parent view