auto layout on profile tab. and hide line separators when there is nothing to display