add detail layout