Detects events shake