converting a listview to gridview