change listview to gridview in sensors dashboard