limiter

Accepts a function that limits the shifting done in order to prevent detachment.