implement hashChange options