Improve layout of grid views.