[bugfix] modify navigator_snap demo