addition of pg1(index renamed), Use of clearRect method and effect of calculation(offset)
addition of pg1(index renamed), Use of clearRect method and effect of calculation(offset)