fix css issue with advanced search, only show background imd image when search visible