Modified direction in svg from x to y