Revert "added the code to detect proximity."

This reverts commit 9ef6d1ac3fb68d71a26c5859b6a50c29d78a9527.
Added shakeDetect logic using the Linear Accelerometer