1992 525i Auto

Tried searching but couldn't come up with my answer.

When tilting the sunroof up at the back, I'm assuming the interior cover is supposed to tilt with it. Is this correct?

If so, what holds the cover to the sunroof when it tilts? My cover does not go with the sunroof therefore it's pretty useless to try and tilt my sunroof. Just wondering what I need to fix/replace.