Change mouse acceleration code