creating spinner css and adding it to the search template