Modify header and footer position