added new feature and updated so that arduino grabs whatever triggered the gesture