added cookie scroll position expiration handling