add left and right panel