I suspect it's just gravity pulling the lid down along the groove. Kind of like going down a spiral slide. With metal on glass it probably has relatively low friction. I've seen nuts thread themselves down bolts as long as a foot, with just the slightest initial push, in a similar manner.