layout prettifying of main patient activity