Separated navigation logic from GraphicsPanel, into Navigation class.