scrollOfItemBottom return the offset when the item is placed at the bottom of the screen.
double scrollOffItemEnd(int index) { return (index + 1) * scrollPerItem - inside; }