Fix endless while if one image 

fix issue that makes browser freeze up if the film roll is loaded with only one image and moveToIndex is called twice