resize cursor reaction to its location in the grid developed