corrected horizontalAndVertical in GridCell