Vortex confinement and bending with nonlocal solitons