add top and right panel.