I would suggest moving the view to a "Game Over - Winner!" type screen. You need to reward the player for his hard earned win. Don't just throw the player out when he wins the game. The Game Over screen should have at the least "Play Again" and "Quit" buttons. Even nicer would be an option to view high scores or add your own if you made a new high score.
So within the code above have: view.x += distance;
Where "distance" is the pixel value away your Game Over screen is.