Reorientation of small palladium particles during growth on an MoS2 substrate