Is it a Corolla S? The sunroof pops back open because it thinks there's an obstruction there - it just needs more grease.