My caramel girl presently has been doing the same thing Shy did as a youngster, trying to stretch herself upside down across the screen top of her tank in a defiance of gravity. I don't think the behavior is an escape behaviior because there isn't any concentrated interest in checking the edges of the screen, just in going up and stretching out across it.
Caramella, my caramel girl, will be stretched out upside down across the underside of her tank's screen top, with her head and tail hanging down at either end for a very short period of time before ... THUMP! down she goes. I will look up and say " Gravity got you again, huh!" She will go right back to trying to achieve it again.
When both Caramella and Shy as a youngster started doing this, they first started going straight up the side of their tanks, trying to balance more and more of their body with less and less of their tail on the floor. Then they started working on seeing how far they could get across the screen and how much of their tail they could get off the floor before gravity caught up with them. Unfortunately, I haven't ever been lucky enough to have the camera on at the time one of them did this and by the time I could get the camera out and turned on, gravity had already sent the serpentine gymnast back to the floor.
Shy stopped doing it after she was able to achieve it easily (or perhaps got too big to want to challenge herself this way.)