Animated gif's are on a continuos reel - they go in loops no matter what to my knowedge.
What you could do it make the pop-up window large enough to cover the entire back page and then you wouldn't see anything at all, or position the pop up to the bottom of the user's window when it pop's up, or get rid of the ani's 