Fading Grid tute help?

I’m new to AS and would like to know how to modify the alpha function in the Fading Grid tutorial so that the picture would fade back out in the same manner as it faded in. Kinda like the reversal of everything. Does this make sense?