removing the List view from window