rearrange content hierarchy