added direction (left|right) on swipe event detail

I added a direction (left|right) in the event detail of the swipe event.

Could you check the swipe-direction branch and merge it in the dev or master branch?