Variation of coronal line widths on and off the disk