fixing window scroll on reset