adding index in size + reload
fixing using grid size by index
changing to grid's size to width
fixing jumping to index