Add get scroll offset sample