Adjust search form for external pages to handle different iframe sizes (portal and homepage)