Sliding roof panel crunches/cracks

Hello, the panoramic roof is in the interior front and back each equipped with such black plastic strips. Virtually such a plastic frame, I hope you know what I mean. Can anyone tell me how to get the best fit? as soon as the road becomes a bit uneven, comes from the frame such a cracking annoying noise. For the rest of my life it makes me crazy. The noise is to recreate when you move the frame, I only have no idea what I can do best against it.