add a smoothmotion threshold