if the endpoint is 0.. means user release the mouse