IPhone 5 sleep and home button not working! - 1

Yesterday I noticed that my iPhone 5 screen was kind if loose so I decided to take the screen off and detach it and then reattach it. While doing this I disconnected the battery as well. I then connected everything back together without really doing much and now my home button and sleep button don't work at all. Could this be software or a hardware issue and if so what do I need to replace. I'm pretty sure I didn't break anything at all. I haven't restored it because I don't want to lose my jailbreak and I would imagine that restoring wouldn't solve my problem.

Here is all the mac and apple help in one place… Ask Apple here for free
1-800-MY-Apple, and…
Check out the sites for more information.
https://discussions.apple.com/...index.jspa
http://www.apple.com/...edback.ht…
http://www.macworld.com/...world.com/ http://www.apple.com/...m/support/ and
https://discussions.apple.com/...0&tstart=0
http://www.apple.com/.../recovery/
http://appleid.apple.com/....apple.com
http://www.apple.com/.../facetime/
http://www.ifixit.com/...iPad-Parts and Mac parts
http://store.apple.com/...ct/MC573Z…

PS If this information helped or you appreciate the effort, volt best answer.

CompTIA A+ Certified Computer Professional