edit question_navigation function