Rotate the cube with accelemeter