Fix start index overriding previous index in stacks. #427

Now uses data-previous-indexv as priority and removes the attribute when returning to the start of the presentation.