Which jockey wheel on top?
Here's a photo of RD-M970 from behind. As you can see, the slotted (guide) pulley goes to knuckle and solid one (tension) to the bottom of cage. I'd align the arrows with chain movement direction that happens when you pedal forward.