Internet Explorer(IE) has an inherent problem with animating .gif images which are originally hidden.
The reason is that IE loads the .gif but does not start the animation when it is hidden.
Unfortunately the animation does not start when it made visible thus appearing to be frozen.