layout of main ref page