" is correct. It might be clearer if you think of the sentence as expressing this idea: Was ["the act of" or "the process of"] viewing the visuals...
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.