Added button to loop till end. And added Grid to show rotations