Soliton control in inhomogeneous nonlocal media