rolling panel alignment

Update from discussion: this produces incorrect results only when there are multiple sids or fields in a test.