Counter-frames for flush-wall sliding doors