cookies to keep the current tab