My iPhone5 is stuck on settings

So, I wanted to check out this new update called ios7 and it was telling me I needed more space to downloaded, I was going to wait before downloading it but my phone wouldn't let me get out of the settings. Like I tried everything to get off it but it just won't let me get on my home screen, lock it or even just switch it off! Its just stuck and will only let me go around the settings. I've decided to download the new update and hoping for it to be fixed when its downloaded but what could I try if it still is the same after the download? Any ideas?

Hold Power and Home till you can turn it off > Hold Power till it turns back on… It will take a bit to boot back up.