implemented arm angle depending on mouse position