Add toggle animation for search form