added scroll to list item logic