Default Weird touch screen problem

I have a strange problem : I can't swipe down the notification bar and sometimes when I unlock the phone the touch screen doesn't respond at all until I lock it and unlock it several times or let it rest for some minutes .I even rebooted it to recovery once and the touch screen didn't respond . the problem persisted with me using two versions of slim kat and liquid smooth 3.0 (stable versions).
Any ideas about the problem? Any potential solutions ??
Sent from my Nexus 4 using XDA Free mobile app