gif loads dynamically and remains on the screen