edge avoidance

with some stickiness