Yup... you may need a layer mask with a gradient applied to it....
This is kind of rough coz the gradient need tweaking a bit more to get the right effect.
Here's a sample animation... click the image gif to view its run.
The ani is too jerky but that's because this was created with just 30 frames not like your sample that contained more than 200 over and the rectangle movement was in smaller increments which makes it run smoother.
Here's something to consider....
Your divider lacks a reflection like what your sample has ... a sort of ghost reflection on the text.
The above animation was created on top of your sample divider. The animation effect may look different if the shape was in a psd layer below the text.
The text itself may be in a mode style that will make it glow once the rectangle passes over or under it.
Give adding a layer mask like what I did a try. and see how it looks if the layer with shape and mask is moved around the layer hierarchy and set to say soft light mode..