Added rotate to mouse example.