Better way of handling profile layouts