Reorganize the html on the case page