Interaction for maximize and minimize the search form