added gifanimation lib and functionality