Added Gesture Function (Shake)