Changes for grid view.