ah, window.push/pop state check for readium instance