Closed the proper amount of div tags