Adjust the layout of profile.