Adding zoom function from the grid.