fixed styling for history view