Fix home page flow expansion and forms on home page and history page.