Fix header & footer positions