CHANGE LINE WIDTH IN TRAJECTORIES AND ADAPT IFRAME SIZE