lv_obj_get_scroll_top() function
Return the height of the area above the object. That is the number of pixels the object can be scrolled down. Normally positive but can be negative when scrolled inside.
Return value
the scrollable area above the object in pixels