Refine UI issue in expanding and hide detail_box