redesign middle layout