Added ability to store and flip between pages