Update MagicPebble.c

Added accel_shake function same as click