which literary technique does this passage best illustrate?

As the sun fell, she sat on the porch and counted the fireflies while the memories returned and rolled across her eyelids like an old film reel, the faces of the people she'd loved approaching and retreating as the moon made its slow ascent in the dark sky.

A.Dialogue
B.Foreshadowing
C. Contrivance
D. Pacing