added main page div tags to indextemplate file