Fix header, footer positioning