A good way to think of this, in my opinion, is to recognize the importance of wave mechanics in telling particles what to do. We used to think waves and particles were two totally separate things, and light was a big debate because it has both properties. With de Broglie, even more so than Heisenberg, we found that it was a perfectly natural aspect of all particles to behave according to wave mechanics.
Now, the big thing that wave mechanics is all about is the phenomenon of interference. That which can happen is that which experiences constructive interference in the appropriate wave, what doesn't happen is what experiences destructive interference. This simple observation completely explains the initial narrowing of the beam as the slit narrows, and the eventual widening.
A beam of light goes where its wave function experiences constructive interference, which is in the direction of the beam, and it doesn't go where the beam itself is setting up destructive interference, which is in the sideways directions. To set up that destructive interference, the beam only needs a cross section of many wavelengths, so as long as it is many wavelengths wide already, cutting down on the cross section of the source (by narrowing the slit) only makes the beam narrower-- since the constructive interference is cut down, with no impact on the region of destructive interference.
However, if the slit is narrowed further, until it is only a few wavelengths wide, now it is not just the region of constructive interference that is affected, but the destructive interference is also being made less effective. The beam starts to "leak out" into regions it couldn't get to before. By the time the slit is narrower than a single wavelength, the destructive interference has been almost completely disrupted, and the beam can go almost anywhere. Details of the surviving destructive interference can cause "fringes", or intensity modulations, but basically you've lost the destructive interference that was responsible for collimating the beam by making the slit so narrow.
So the seemingly counterintuitive behavior of the light going more places when the paths it can take to get there are reduced, makes perfect sense when you recognize that paths convey not only the constructive interference that permits behavior, but also the destructive interference that limits behavior.