change window hash based