Fixed: Random transition effect, Too many calls to history.pushState()