converted the table into a list of divs (needs to be made nicer)