added loading gif when submitting a new search