Fixed problem with mismatched closing div tags