add tooltip for details