adding searchbar animations for the index page