Add loading effect for search autocompletion