rearrange html