swap odd/even header/footer to match their natural order