Improved zooming and panning

- Set minimum and maximum ppm (pixels per meter) when starting the game.
- Try to fit the track between these ppm values.
- Recalculate view parameters at every redraw so window resizing works fine.