fix all kinds of quirks and edge cases when moving headlines