Remount components on page:restore event

I noticed that the react components aren't mounted again if you use the back button. I think this should fix it.