acordioniate the images