Add styling and rearrange html