Add first, middle, and last period states to cell views in S-Period mode