throttled the mouse motion events