issue #3 solved, gif is displayed when loading and hidden when loaded