You need to call your checkPage function after you increment your inGran variable

Code:
if (event.target.dropTarget!=null&&event.target.dropT arget.parent==Gran) {
event.target.visible=false;
inGran++;
checkPage();
}
I also dont see why you need to pass an event into the checkPage function.

Does it matter which item is dropped first?