update expandable details styles; add expandable details js