Left - right gesture detection fix & demo application