diff --git a/_config.yml b/_config.yml
index 2265a8c30eda..f541e7489aab 100644
--- a/_config.yml
+++ b/_config.yml
@@ -303,7 +303,7 @@ enable_navbar_social: true # enables displaying social links in the
enable_project_categories: true # enables categorization of projects into
# multiple categories
enable_medium_zoom: true # enables image zoom feature (as on medium.com)
-
+enable_progressbar: false # enables a horizontal progress bar linked to the vertical scroll position
# -----------------------------------------------------------------------------
# Library versions
diff --git a/_includes/header.html b/_includes/header.html
index 6d7ef30e5826..4b8f2c7158fd 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -162,4 +162,12 @@
-
\ No newline at end of file
+{% if site.enable_progressbar %}
+
+
+{%- endif %}
+
diff --git a/_includes/scripts/progressBar.html b/_includes/scripts/progressBar.html
new file mode 100644
index 000000000000..88bb73cd35e4
--- /dev/null
+++ b/_includes/scripts/progressBar.html
@@ -0,0 +1,80 @@
+{% if site.enable_progressbar %}
+
+
+
+
+{%- endif %}
diff --git a/_layouts/default.html b/_layouts/default.html
index 1d291e406fca..2887107cc95f 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -30,5 +30,6 @@
{% include scripts/misc.html %}
{% include scripts/mathjax.html %}
{% include scripts/analytics.html %}
+ {% include scripts/progressBar.html %}