patch on stop animation if there is only one img

Bug : If there is only one img. Then it will go black when try to switch to the next img
Fix : stop if the next img is current one.