If the iPhone buttons are not responding, then the AssistiveTouch option will help replace that button. To enable, go to menu settings > General > Accessibility > AssistiveTouch, enabling the AssistiveTouch option.