creation of animated gif with the frames added (see readme for important info)