beginning of fix for multi gif display issue

under certain conditions, two gifs would be displayed at the same time,
which this is meant to be a small fix to. if there's time later on might
come back and do a more thorough fix later, but for now am moving on
with curriculum.