moves a closing div