Htc-10 top of screen not working

Hello all, I have a htc-10, about 4 months after I got it the top cm or so of the screen became Intermittent and then a month later stopped working. I contacted HTC who said they would repair it if I sent it back.
Being busy with work and personal life I never sent it as I didn't have a spare phone. Now it's out of warranty.
I have changed the screen myself and it worked fine for about an hour or so, now it's back to how it was before.
All my apps are up to date.

Any ideas anyone?