sets up page layouts