fix heading position on pages