changed header and footer placement