Change the layout of details page