keep the position of the selected item and scroll the listview when the device is rotated