add layout to toppage