Added support for click to play gif animations