Made titles also truncate (if necessary) and made a timed animation for
the collapse of text instead of just letting it appear abruptly.