Mask Animation

I have attached a file that I am trying to mask to get an effect like

http://www.leviton.com/dhc/DHCweb/#

There is a strip mask transition animation, I can’t work it out. Can someone put me out of my misery because I am tearing my hair out.

Many thanks in advance