Set up basic trajectory-chain styling and fix IdpTrajectory#prior_trajectories method
- Also refactor minor code and css stuff