changes for better styling of grid view