Layered Surface Framework Behaviors (e.g Google Maps)

Hey PiePeople,
I’m working with a Layered Surface framework similar to Google Maps — map at L0, tray at L1.

I need the tray to:
• Pull up L1 to full screen with deeper scroll
• Pull down L1 return to its resting position
• Pull down L1 from resting position to hide completely and reveal the L0 (This is the one i’m having trouble with)

Has anyone built this kind of multi-state tray interaction before with good results?
Theres some tutorials out there, but none really cover the ability to pull the L1 both up and down.

Thanks in advance. ✌️

https://cloud.protopie.io/p/ccdc4af6bae2f70a8a6f9901 /

example.mp4