if (spaceOnTop) {
            if (spaceOnLeft) {
                fn(idx - this._image.width - 1);
            }
            fn(idx - this._image.width);