better styling for grid view (re #166)