add a spinner when waiting for the gif