scroll issues with history state