editor react to hash changes in url