displaying data in details screen