That part is called a rear curtain, and no, you don't need a whole top. You can just replace the rear curtain. The glass is chemically bonded to the fabric during manufacturing. It is not something you can glue back on once it's come completely off. If just the outer seal lets go and you catch it early you can sometimes be successful gluing it back on, but once it separates completely, you're looking at replacement.