Rotate the cube :
Entire cube will rotate when you drag the screen.
Rotate the blocks :
Drag the block to rotate the block.
Changing the top face :
If you hold down the block, the whole cube rotates so that its face is on top.