The right hand side of my P38's sun roof has gone on strike!

It opens (slides to rear) fully but on closing it does not pop into the CLOSED position like the left hand side does and will not go into the FLIP UP Vent position (although the left side does).

Any suggestions as to how to fix it will be gratefully received as it leaks when it rains!!

Thank you

Paul