Prevent an endless loop for a filmroll with only one image

the while loop should never run more then once through the children. if the length of children is 1 it will go on for ever and completely lock up the browser if the method is called a second time