switched detail data to table

added loading gif for detail data and header