I had been using the phone for about an hour or so beforehand just messing around. Screen would only restore when using a swipe motion but single point of contact still worked after the screen had come back, obviously with a lot of flickering involved. Also had the apple restore progress bar or loading bar permanently visible. Battery was fine, can't think of any thing else really. I just did a factory reset and that fixed the problem. Still what the heck caused that?