updated try theme to close main content div in each template rather than footer