Sun Roof Problem

I have a 1997 Toyota Corolla and I got in it this evening and could close the electric sun roof. The glass will still go forward and backward automatically when I hit the button, but it won’t, at the end, go down and close. Given the age of the car I don’t want to spend much, but I also want it fixed quickly (if possible without a mechanic involved) and wouldn’t mind if the solution was no more sunroof movement at all. Any thoughts?

The glass is not going fully forward to the end of the track. You have, of course, looked at the track to make sure nothing is blocking it.

Right?