fixed bug where quiz to move to question outside of array length