NEW: Storing the page preview states as per open ticket 8092

NEW: Amending the preveiw settings to be global instead of page specific

BUG: Moved and amended side by side cookie code for ticket 8092