cache opened sections and reopen on page reload