added navigation and check that every question has a value before pageswitch