This is not what you need.
The passage needs to be totally blocked.
The passage is totally blocked when the sliding walls are closest.