In search of lost trajectories: recovering the diversification of transposable elements