Bending of solitons in weak and slowly varying inhomogeneous plasma