added functionality to handle moving between questions