added close functionality in listview

The Listview can now close the current open element of the adapter.