fix: clamp negative scroll offset index to prevent IndexOutOfBoundsException in TabsView (#1575)