added fixed for grid photo view