Known as "frame cramp" I think.
One cause can be dried-up electrolytic capacitors in the frame output stage and/or the power supply, so check the supply voltage to the frame output stage.
Note that "Trinitron" can refer to thousands of models from the late 1960s to the early C21st, so a model number would be handy