Made fullscreen work by removing window history push states