progress hud with ability to display gif images implemented with swift