Basic navigation logic implemented