Implement methods to handle accel and shake events