Implemented gesture events for touchpad