Flicker issue line highlight

- Adding transitions to the highlight for the line component so that the highlight fades away slowly.