Change mouse up/move event handler