Added code for no-repeating GIFs