mouse moves and processData functions