Fix listview state after swiping