ENH: Add support for the trajectory category menu