Headliner pics

what keeps the cardboard up, does it glue to the roof. mine sags under the sun visor and is still solid but wonder how i can get it to go back up. any info would help. tks