preliminary support for persisting previously rendered element
options.order is now a parameter
now reshowingThenRemoving conditionally
using containerElement.lastChild instead of containerElement.children[0] to support the case wherein there are multiple elements in the container
nextElement is now conditionally chosen based on whether or not element is being generated or restored from the openPages stack
fixed subtle bug wherein openpages.length was 0 when it should have been 1
helpful message
another stab at reshowThenRemove