Reworked gif preview to ensure gif always starts at beginning when viewed.