added gif support override method if the css animation is too overwhelming