set up basis for collapse view