set stroke id for mouse movement