Issue #2784463 by martin107, naveenvalecha, tim.plunkett: Convert outside_in_page_(top|bottom)() to a #theme_wrappers (cherry picked from commit 4beaddb7)