Fine tuning on touch + mouse events

Improved the bindEvents script and the touch captor a bit. It is supposed to have fixed the #166 issue, but it has not been tested yet.