Add function to get scroll item's position