Can't enter passcode
My Iphone 5 will not let me enter a passcode, I can hit the home button and swipe up and down and use all the features... calculator, camera, all the controls, wifi, blutooth, newsfeeds from above, etc; but if I swipe the slide to unlock, I get all the numbers, but it won't let me type my code, it acts as if the touch screen is not working - doesn't highlight or move or anything and the screen is frozen until my minute is up and it closes again. I'm getting texts and functions continue working as the notifications are showing up, but I can't access anything beyond the passcode screen.
iPhone 5, iOS 8.3