Touch Screen not working
I have had this issue before when I rooted my galaxy ace it was extremely random and I fixed it by flashing an old stock rom and then using Kies to upgrade to the latest. 

If this doesn't work it would suggest that your digitizer has gone, or is in the process of going. If you have time remaining on your warranty, and have returned it to stock, you should be able to return it for repair to samsung.