made the show/hide behavior for search forms faster
add behavior to clear advanced search fields when they are dismissed
added the query construction for advanced search