close main div before footer, issue #19