Added smooth scrolling when finger is close to the start or end of the listview.