Added menu toggling to pause via left/right arrow keys