Sunroof stuck open on 2003 Dodge Neon

My sunroof is stuck open a little bit and won't open or close. I opened the vent part the other morning and when I went to close it, it went down a little then just stopped and won't do anything now. It has dont this once before, but then it closed the next day. I can hear the relay and know it is using power becuase my lights flicker when using the switch. Anyone know what may be causing this and how to fix it?

1 answer
I like how people answered almost all of the questions except this one.. turns out it had gotten really dirty and just needed cleaned