change layout of detail page