blackberry/Ripple-UI — pull request #638 by mlantz (2012-12-01 23:51:29+00:00)
Title: Issue #556

I changed the scope of these variables and a the initial creating of the accelerometer in order to solve the problem. I tried removing the event listeners at one point but realized that removing them didn't reset these variables which made the accelerometer keep jumping back to where it was after the double click.