added panning and zooming to cells