remove header and footer from view detail page