revised layout for all pages