converts listview to grid for gameactivity