Arduino Scrolling 56x8 LED matrix

hi Hari!

ive replicate your led matrix using your codes and only 74HC595 on both sides

but for some reason the output i got inverted and not like yours?

is there any reason for that?