move div closing tag