Some layout cleanup in layer_detail.html