Drag center squares to rotate the whole cube.
Drag corner squares to rotate individual layers.
Press "S" to scramble the cube, "R" to restore.