setup sidebar and doantion panels