Why new line and the <div> is being moved?