add animation for search box