rearrange DOM layout a bit