keep motions within buffer bounds