S-JEPA: towards seamless cross-dataset transfer through dynamic spatial attention