add leap function to move the mouse