make details toggleable