accelerometer - x and y axis - w/ click
commented and cleaned