Added listener to the scroll view