Updated to fix listview endless scrolling.