How do I get my sun roof back in it's track?

Makes fun grinding sound when I hit the open button, no sound when I hit closed. Will open slightly but will not close. When pushed on , the left (driver's side) will go down slightly.

crwdns2893858:0crwdne2893858:0 crwdns2893862:0crwdne2893862:0

crwdns2894050:0crwdne2894050:0

crwdns2889612:0crwdne2889612:0 0
crwdns2892346:0crwdne2892346:0