better layout for details page