added page dim and paste functionality