Added svg tooltip code from Riad; made optional.