fix popState while go back or forware in brower