How to implement a curtain like page(for quick setting or notificaitons show)?

Description

smart watches have screens that move over the main screen to show notifications or quick setting switches. The screens could go with cursor, and when cursor release, it will go back or covert the main screen.

What MCU/Processor/Board and compiler are you using?

general

What LVGL version are you using?

v7.11

What do you want to achieve?

how to make such curtain effect in lvgl, with v7 or v8?

What have you tried so far?

load screen animation, draging page