[BUGFIX]Added mouse leave handlers  to be triggered
[CHANGE]Changed on click listening for touch devices.

The onClick handler where listening to touchstart events if the device was a touch device. This was changed so the handler listens now to click events.
This change was necessary, because otherwise it is not possible to scroll long menus, or to execute different touch events than just tapping.
Merge remote-tracking branch 'origin/development'