try greasing the rails that the sunroof slides on. Use grease, not wd-40 or some kind of oil. Grease the rails and try opening and closing a few times, work it back and forth. Also, on mine, I had to take out the sunroof and reinsert a screw that held the arm that slides to the sunroof panel because it fell out causing a very similar problem.