Switched layout wrapper rendering from before_body_end to footer by obserer