set up initial layout of all contents