updated example to show use of relative mouse coordinates