fixed back/fwd functionality so questions are saved