Improve grid view gradient behaviour.